<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://xmlns.jcp.org/jsf/html"
                xmlns:f="http://xmlns.jcp.org/jsf/core"
                xmlns:ui="http://xmlns.jcp.org/jsf/facelets" template="/template.xhtml">

    <ui:define name="content">
            <h2>Please input activation code to activate your account</h2>
            <p><em>Ideally, the activation token value or activation link could be sent by email after the registration progress is done.</em></p>
            <p>In this example input <strong>123</strong> for test purpose.</p>
            <p>Token value: <h:inputText id="input" value="#{activationBean.tokenValue}" /></p>
            <p><h:commandButton id="activate" value="Activate account now!" action="#{activationBean.activate}" /></p>
    </ui:define>
</ui:composition>